<%@ page contentType="text/html;charset=utf-8" %>
<%@ page language="java" import="java.util.*"%>
<%@ page language="java" import="java.io.*"%>
<%@ page language="java" import="com.easidea.tim.util.*"%>
<%
  
 	 Configuration rc = new Configuration("E:\\switch.properties");//相对路径
 	
	String param = "";
	if(request.getParameter("param")!=null){
		param =request.getParameter("param").toString();
	     if(param.equals("atob")){
			rc.update("switch","b","E:\\switch.properties");
			param = rc.getValue("E:\\switch.properties","switch");
		}else if(param.equals("btoa")){
			param="login";
		}else if(param.equals("logindone")){
			rc.update("switch","a","E:\\switch.properties");
			param = rc.getValue("E:\\switch.properties","switch");
		}
	}else{
		param = rc.getValue("switch");
	}

%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="pragma" content="no-cache" /> 
<meta http-equiv="cache-control" content="no-cache,must-revalidate" /> 
<meta http-equiv="expires" content="0" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<%
	if(param.equals("login")){
%>

<meta  http-equiv="Refresh" content="0;url=login.jsp"/>
<%
}
%>
<script type="text/JavaScript" src="/js/jquery.js"></script>
<title></title>
</head>

<body>
http://192.168.70.7/tim/flex/index.html,http://192.168.70.7/tim-p/flex/index.html,<%=param%>
</body>
</html>
